
#T2 pkg has both pci.ids and pci.ids.gz...
if [ -f ./usr/share/pci.ids.gz ];then
 if [ -f ./usr/share/pci.ids ];then
  rm -f ./usr/share/pci.ids.gz
 fi
fi

pci_ids="$(find . -name 'pci.ids')"

if [ ! "$pci_ids" ] ; then
	# not found.. download
	#pwd: rootdir/packages-$DISTRO_FILE_PREFIX/pciutils
	../../rootfs-skeleton/sbin/update-pciids . 2>/dev/null
fi

## there is a custom 'update-pciids' in /sbin
#find . -name 'update-pciids' -delete
